﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Facebook.Schema;
using Facebook.Winforms;

namespace SNAIL.Interfaces
{
    public partial class FacebookSelecter : Form
    {
        public FacebookSelecter(IList<user> Friends)
        {
            InitializeComponent();

            friendList1.Friends = Friends;
        }

        public long? UserID;

        private void FacebookSelecter_Load(object sender, EventArgs e)
        {
        }

        private void friendList1_FriendSelected(object sender, FriendSelectedEventArgs e)
        {
            UserID = e.User.uid;
            this.Close();
        }
    }
}
